package com.java;

import com.java.config.result.Result;
import com.java.model.order.OrderCountQueryVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

@FeignClient(value = "service-order")
@Repository
public interface OrderFeignClient {
    @PostMapping("/api/order/orderInfo/auth/orderList")
    Map<String,Object> getOrderList(@RequestBody OrderCountQueryVo orderCountQueryVo);
}
